﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace WindowsPhoneApplication1
{
    public partial class trackReports : PhoneApplicationPage
    {
        public trackReports()
        {
            InitializeComponent();
        }

        private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
        { 
            List<Report> RepList = new List<Report>();
            String descTmp = /*"klollllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll" +*/
                " LOLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL";
            RepList.Add(new Report("1", "benny", "bbbbb", "Images/waterfall_pool.jpg", descTmp));
            RepList.Add(new Report("2", "benny", "bbbbb", "Images/waterfall_pool.jpg", descTmp));
            RepList.Add(new Report("3", "benny", "bbbbb", "Images/waterfall_pool.jpg", descTmp));
            RepList.Add(new Report("4", "benny", "bbbbb", "Images/waterfall_pool.jpg", descTmp));
            RepList.Add(new Report("5", "benny", "bbbbb", "Images/waterfall_pool.jpg", descTmp));
            RepList.Add(new Report("6", "benny", "bbbbb", "Images/waterfall_pool.jpg", descTmp));
            RepList.Add(new Report("7", "benny", "bbbbb", "Images/waterfall_pool.jpg", descTmp));
            RepList.Add(new Report("8", "benny", "bbbbb", "Images/waterfall_pool.jpg", descTmp));
            RepList.Add(new Report("9", "benny", "bbbbb", "Images/waterfall_pool.jpg", descTmp));
            Reports.ItemsSource = RepList;
        }
    }



    public class Report
    {

        public String Id { get; set; }
        public String UserId { get; set; }
        public String TrackId { get; set; }
        public String Pic { get; set; }
        public String Description { get; set; }

        public Report(String RepId, String UId, String TId, String pic, String desc)
        {
            this.Id = RepId;
            this.UserId = UId;
            this.TrackId = TId;
            this.Pic = pic;
            this.Description = desc;
        }

    }
}